package com.ruoyi.project.bill.listerner.impl;


import com.ruoyi.project.bill.domain.Bill;
import com.ruoyi.project.bill.domain.BillData;
import com.ruoyi.project.bill.listerner.BillLisnerInerInterface;

/**
 * @Author: yp
 * @CreateTime: 2025/7/3
 * @Description: 通用逻辑删除监听实例
 * @Version: 1.0
 */
public class CommonLoginDetleteListerner implements BillLisnerInerInterface {


    public static final String BEAN_NAME = "com.ruoyi.bill.listerner.impl.CommonLoginDetleteListerner";


    @Override
    public void befor(Bill bill) {

        BillData billData = bill.getBillData();
        //修改状态为删除
        billData.put("is_delete","1");
    }

    @Override
    public void after(Bill bill) {


    }
}